package net.huashitong.scheduling.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sirdc.modules.core.dao.BaseDao;
import com.sirdc.modules.sys.base.StringPKService;

import net.huashitong.scheduling.dao.AreaRankingDao;
import net.huashitong.scheduling.entity.AreaRanking;
import net.huashitong.scheduling.filter.AreaRankingFilter;

@Service
public class AreaRankingService extends StringPKService<AreaRanking> {
	@Autowired
	private AreaRankingDao dao;
	@Override
	protected BaseDao<AreaRanking,String> getDao(){
		return dao;   
	}
	public List<AreaRanking> queryAreaRankingList(AreaRankingFilter filter){
		return dao.queryAreaRankingList(filter);
	}
	
	public List<AreaRanking> queryIndustryName(AreaRankingFilter filter){
		return dao.queryIndustryName(filter);
	}
}
